package com.niyue.sandbox.invokevis.util;

import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;

public class FileUtil {
	public static void writeContent(String filePath, String fileContent){
		FileWriter fileWriter;
		PrintWriter printWriter;
		try {
			fileWriter = new FileWriter(filePath);
			printWriter = new PrintWriter(fileWriter);
			printWriter.print(fileContent);
			printWriter.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
